home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
blankery
/
shadowmaster
/
rexx
/
expand.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-01-31
|
449b
|
23 lines
/* expand - function to expand AMIGAdos wild cards
*
* Copyright 1991, Mike Meyer
* All Rights Reserved
*
* See the file "Supersaver:Distribution" for information on distribution.
*/
parse arg files
out = ""
do i = 1 to words(files)
pat = word(files, i)
if verify(pat, '#?', 'Match') = 0 then
out = out pat
else do
'list lformat %p%n' pat '| execio stem lines.'
do j = 1 to lines.0
out = out lines.j
end
end
end
return out